/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.skali.cabdirectories.model.impl;

import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.model.CacheModel;

import com.skali.cabdirectories.model.CABDirectory_DLFileEntryMapping;

import java.io.Serializable;

/**
 * The cache model class for representing CABDirectory_DLFileEntryMapping in entity cache.
 *
 * @author Prabhakar
 * @see CABDirectory_DLFileEntryMapping
 * @generated
 */
public class CABDirectory_DLFileEntryMappingCacheModel implements CacheModel<CABDirectory_DLFileEntryMapping>,
	Serializable {
	@Override
	public String toString() {
		StringBundler sb = new StringBundler(7);

		sb.append("{mappingId=");
		sb.append(mappingId);
		sb.append(", SammId=");
		sb.append(SammId);
		sb.append(", dlFileEntryId=");
		sb.append(dlFileEntryId);
		sb.append("}");

		return sb.toString();
	}

	public CABDirectory_DLFileEntryMapping toEntityModel() {
		CABDirectory_DLFileEntryMappingImpl cabDirectory_DLFileEntryMappingImpl = new CABDirectory_DLFileEntryMappingImpl();

		cabDirectory_DLFileEntryMappingImpl.setMappingId(mappingId);
		cabDirectory_DLFileEntryMappingImpl.setSammId(SammId);
		cabDirectory_DLFileEntryMappingImpl.setDlFileEntryId(dlFileEntryId);

		cabDirectory_DLFileEntryMappingImpl.resetOriginalValues();

		return cabDirectory_DLFileEntryMappingImpl;
	}

	public long mappingId;
	public long SammId;
	public long dlFileEntryId;
}